package com.huawei.appgallery.purchasehistory.ui.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewGroup.LayoutParams;
import android.widget.LinearLayout;
import com.huawei.appgallery.purchasehistory.ui.card.ConsumeRecordCard;
import o.cht;
import o.cih;
import o.cst.d;

public class ConsumeRecordNode extends cht {
    public ConsumeRecordNode(Context context) {
        super(context, 1);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LayoutParams layoutParams = new LinearLayout.LayoutParams(-1, -2);
        View inflate = LayoutInflater.from(this.ॱ).inflate(d.ʻ, null);
        inflate.setLayoutParams(layoutParams);
        cih consumeRecordCard = new ConsumeRecordCard(this.ॱ);
        consumeRecordCard.ˏ(inflate);
        ˊ(consumeRecordCard);
        inflate.setClickable(true);
        viewGroup.addView(inflate);
        return true;
    }
}
